package com.petsystem.system.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.petsystem.common.annotation.ExcelDictFormat;
import com.petsystem.common.convert.ExcelDictConvert;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * 订单信息视图对象 t_order
 *
 * @author petsystem
 * @date 2022-02-27
 */
@Data
@ApiModel("订单信息视图对象")
@ExcelIgnoreUnannotated
public class TOrderVo {

	private static final long serialVersionUID = 1L;

    /**
     * 订单id
     */
	@ExcelProperty(value = "订单id")
	@ApiModelProperty("订单id")
	private Long id;

    /**
     * 用户id
     */
	@ExcelProperty(value = "用户id")
	@ApiModelProperty("用户id")
	private Long userId;

    /**
     * 宠物id
     */
	@ExcelProperty(value = "宠物id")
	@ApiModelProperty("宠物id")
	private Long petId;


    /**
     * 用户名称
     */
    @ExcelProperty(value = "用户名称")
    @ApiModelProperty("用户名称")
    private String userName;

    /**
     * 宠物名称
     */
    @ExcelProperty(value = "宠物名称")
    @ApiModelProperty("宠物名称")
    private String petName;

    /**
     * 宠物价格
     */
    @ExcelProperty(value = "宠物价格")
    @ApiModelProperty("宠物价格")
    private Double petPrice;

    /**
     * 申请原因
     */
    @ExcelProperty(value = "申请原因")
    @ApiModelProperty("申请原因")
    private String reason;

    /**

    /**
     * 审核状态（0代表待审核 1代表已通过 2代表未通过）
     */
    @ExcelProperty(value = "审核状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "t_order_check_status")
	@ApiModelProperty("审核状态（0代表待审核 1代表已通过 2代表未通过）")
	private String checkStatus;

    /**
     * 备注
     */
	@ExcelProperty(value = "备注")
	@ApiModelProperty("备注")
	private String remark;


}
